package com.sheliduan.itlearning.common.domain.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 断舍离
 * @date: 2025/1/22 8:35
 * @description: 用户表实体类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_user")
public class UserDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private String role;

    // 用户头像地址
    private String avatar;

    private Double money;

    private Date createTime;

    private Date updateTime;

    private Boolean isDeleted;
}
